package cn.itcast.b_filter_data;


import org.junit.Test;

public class Demo {
	@Test
	public void testName() throws Exception {
		String content="sadfihiuewaaa";
		String str="aaa";
		if(content.contains(str)){
			content=content.replace(str,"***");
			System.out.println("**");
		}
		System.out.println(content);
	}
}
